Daily Coding Problem

Newsletter Image

Messages

10/20/2024
18 : 24

Daily Coding Problem: Problem #1584 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Uber. Implement a 2D iterator class. It will be initialized with an array of arrays, and
10/20/2024
8 : 44

Daily Coding Problem: Problem #1576 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by MIT. Blackjack is a two player card game whose rules are as follows: The player and then
10/20/2024
7 : 54

Daily Coding Problem: Problem #1577 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Oracle. We say a number is sparse if there are no adjacent ones in its binary
10/20/2024
7 : 4

Daily Coding Problem: Problem #1578 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Given an array of numbers of length N , find both the minimum and maximum
10/20/2024
6 : 34

Daily Coding Problem: Problem #1579 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Given a circular array, compute its maximum subarray sum in O(n) time. A
10/20/2024
6 : 4

Daily Coding Problem: Problem #1580 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a set of distinct positive integers, find the largest subset such that
10/20/2024
5 : 35

Daily Coding Problem: Problem #1581 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given two rectangles on a 2D graph, return the area of their intersection. If
10/20/2024
5 : 21

Daily Coding Problem: Problem #1582 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Salesforce. Connect 4 is a game where opponents take turns dropping red or black discs
10/20/2024
5 : 20

Daily Coding Problem: Problem #1583 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Yelp. The horizontal distance of a binary tree node describes how far left or right the
10/8/2024
18 : 14

Daily Coding Problem: Problem #1572 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Yelp. Given a mapping of digits to letters (as in a phone number), and a digit string,
10/7/2024
18 : 34

Daily Coding Problem: Problem #1571 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Given a dictionary of words and a string made up of those words (no spaces),
9/28/2024
17 : 34

Daily Coding Problem: Problem #1570 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Epic. The "look and say" sequence is defined as follows: beginning with the
9/27/2024
17 : 44

Daily Coding Problem: Problem #1569 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Implement a URL shortener with the following methods: shorten(url) , which
9/26/2024
18 : 4

Daily Coding Problem: Problem #1568 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Stripe. Given an integer n , return the length of the longest consecutive run of 1 s in
9/25/2024
17 : 54

Daily Coding Problem: Problem #1567 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Amazon. You are given a list of data entries that represent entries and exits of groups
9/24/2024
18 : 4

Daily Coding Problem: Problem #1566 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Amazon. Given a string, find the longest palindromic contiguous substring. If there are
9/23/2024
18 : 24

Daily Coding Problem: Problem #1565 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Given a multiset of integers, return whether it can be partitioned into two
9/22/2024
17 : 54

Daily Coding Problem: Problem #1564 [Hard]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Let A be an N by M matrix in which every row and every column is sorted. Given i
9/21/2024
17 : 54

Daily Coding Problem: Problem #1563 [Medium]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. There is an N by M matrix of zeroes. Given N and M, write a function to count
9/20/2024
17 : 54

Daily Coding Problem: Problem #1562 [Easy]

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Amazon. Consider the following scenario: there are N mice and N holes placed at integer